//
//  player.cpp
//  blackjackSim
//
//  Created by Luke Nomeland on 7/15/14.
//  Copyright (c) 2014 Luke Nomeland. All rights reserved.
//

#include "player.h"

bool player::checkGame(){
    if (cardSum > 21 && numOfAces == 0)
        return false;
    else if (cardSum > 21)
    {
        cardSum -= 10;
        --numOfAces;
    }
    return true;
    
        }